//
//  XMBaseViewController.h
//  XMJJ_zml
//
//  Created by apple on 2025/5/7.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum {
    XMOrderTypeBuy,  //我买的
    XMOrderTypeSold   //我卖的
} XMOrderType;

@interface XMBaseViewController : UIViewController

@property (nonatomic, getter = isHideNavigationBar) IBInspectable BOOL hideNavigationBar;

/**
 * 功能：隐藏显示导航栏
 * 参数：（1）是否隐藏导航栏：isHide
 *      （2）是否有动画过渡：animated
 */
- (void)hideNavigationBar:(BOOL)isHide
                 animated:(BOOL)animated;

@end

NS_ASSUME_NONNULL_END
